<template>
  <div>
    <div class="goods-list-container">
      <ul>
        <li>
          <Homegoods :obj='obj'></Homegoods>
        </li>
        <li>
                   <Homegoods :obj='obj'></Homegoods>

        </li>
        <li>
                  <Homegoods :obj='obj'></Homegoods>

        </li>
        <li>
                <Homegoods :obj='obj'></Homegoods>

        </li>
        <li>
                  <Homegoods :obj='obj'></Homegoods>

        </li>
        <li>
                  <Homegoods :obj='obj'></Homegoods>

        </li>
      </ul>
    </div>
  </div>
</template>

<script>
import Vue from "vue";
import Homegoods from "./Homegoods";
export default {
    props:[
        'obj'
    ],

  components: {
    Homegoods,
  },
};
</script>

<style lang="stylus" scoped>
.goods-list-container {
  >ul {
    
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}
.goods-list-container>ul>li
    width 47%
</style>